Owen Taylor [Sat, 9 Jan 1999 22:32:58 +0000 (22:32 +0000)]
Added Czech translation by Stanislav Brabec <utx@k332.feld.cvut.cz>
Sat Jan 9 17:35:19 1999 Owen Taylor <otaylor@redhat.com>
* cs.po: Added Czech translation by
Stanislav Brabec <utx@k332.feld.cvut.cz>
Owen Taylor [Sat, 9 Jan 1999 19:02:06 +0000 (19:02 +0000)]
Set name "gtk-tooltips" on tip window so that a style can be set for
Sat Jan 9 14:02:08 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.c (gtk_tooltips_force_window): Set
name "gtk-tooltips" on tip window so that a style
can be set for tooltips.
Nuno Ferreira [Sat, 9 Jan 1999 13:08:32 +0000 (13:08 +0000)]
More strings translated. Not finished yet.
1999-01-09 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
* pt.po: More strings translated. Not finished yet.
Owen Taylor [Sat, 9 Jan 1999 00:21:37 +0000 (00:21 +0000)]
Fixed some list-manipulation breakage.
Fri Jan 8 19:00:17 1999 Owen Taylor <otaylor@redhat.com>
* gdk/gdkdnd.c (gdk_window_cache_filter): Fixed
some list-manipulation breakage.
* gdk/gdkdnd.c (gdk_window_cache_destroy): Free
window cache structure.
* gtk/gtkdnd.c (gtk_drag_set_icon_pixmap): Set an
event mask on the drag window so clicking on it
doesn't pop up root menus, etc.
* gtk/gtkdnd.c (gtk_drag_button_release_cb): Remove
signal handlers at button release.
Lars Hamann [Fri, 8 Jan 1999 00:21:36 +0000 (00:21 +0000)]
call gtk_spin_button_update before returning a value
Fri Jan 8 00:42:00 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkspinbutton.c (gtk_spin_button_get_value_as_int)
(gtk_spin_button_get_value_as_float): call gtk_spin_button_update
before returning a value
* gtk/gtkclist.c (gtk_clist_motion): don't allow 'drag selections'
if clist is a drag source.
(gtk_clist_drag_begin): remove pointer grabs, end ongoing selections.
* gtk/gtkctree.c (remove_grab): copy of clist function.
(gtk_ctree_drag_begin): let clists drag_begin method set the
source info struct.
Owen Taylor [Fri, 8 Jan 1999 00:12:43 +0000 (00:12 +0000)]
Fixes to drawing the background of the bin window so that clearing and
Thu Jan 7 19:10:21 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkviewport.c (gtk_viewport_style_set): Fixes
to drawing the background of the bin window
so that clearing and redrawing of child
widgets work properly.
* gtk/gtkwidget.c (gtk_widget_idle_draw): Juggle around
data so that if somebody triggers more redraw queuing
from a expose_event handler, it doesn't confuse the
heck out of GTK+. (But is highly liable to cause
an infinite loop...)
Owen Taylor [Thu, 7 Jan 1999 20:17:15 +0000 (20:17 +0000)]
Fix some more memory leaks.
Thu Jan 7 12:31:41 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkselection.c (gtk_target_list_unref): Fix some
more memory leaks.
Lars Hamann [Wed, 6 Jan 1999 22:26:03 +0000 (22:26 +0000)]
fix for dnd bug reported by Bertrand Guiheneuf. Don't return FALSE if
Wed Jan 6 23:14:19 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkctree.c (gtk_ctree_drag_motion): fix for dnd bug reported
by Bertrand Guiheneuf. Don't return FALSE if source widget != dest.
widget.
Tristan Tarrant [Wed, 6 Jan 1999 09:09:04 +0000 (09:09 +0000)]
Added Italian texts
George Lebl [Wed, 6 Jan 1999 05:19:15 +0000 (05:19 +0000)]
free the event that was returned to us by gtk_get_current_event
Tue Jan 05 21:18:00 1999 George Lebl <jirka@5z.com>
* gtk/gtkmenu.c,gtk/gtkmenuitem.c,gtk/gtkeditable.c: free the
event that was returned to us by gtk_get_current_event
Owen Taylor [Wed, 6 Jan 1999 00:43:29 +0000 (00:43 +0000)]
Free memory allocated for target lists.
Tue Jan 5 11:31:55 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkselection.c (gtk_target_list_unref): Free
memory allocated for target lists.
Owen Taylor [Wed, 6 Jan 1999 00:41:04 +0000 (00:41 +0000)]
Push GdkRGB's visual and colormap around the color selection dialog so
Tue Jan 5 19:01:18 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcolorsel.c (gtk_color_selection_dialog_init): Push
GdkRGB's visual and colormap around the color selection
dialog so that the window and the previews have the
same colormap. If an app adds things to the colorsel
dialog, it will have to take care of them itself.
Owen Taylor [Tue, 5 Jan 1999 23:46:49 +0000 (23:46 +0000)]
When redrawing the under-cursor character, don't redraw the terminating
Tue Jan 5 11:51:32 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable):
When redrawing the under-cursor character, don't
redraw the terminating NULL.
[ From: dov@imagic.weizmann.ac.il (Dov Grobgeld) ]
Owen Taylor [Tue, 5 Jan 1999 23:45:21 +0000 (23:45 +0000)]
Make gtk_propagate_event() non-static, we need it in gtkdnd.c so that the
Tue Jan 5 15:03:47 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (gtk_propagate_event): Make
gtk_propagate_event() non-static, we need it in gtkdnd.c
so that the button-release we synthesize gets propagated
correctly.
* gtk/gtkdnd.c: Use gtk_propagate_event() so
release gets to a GtkList. But we can't really
get this right without access to the windows
event masks and doing X-style propagation ourselves.
Tue Jan 5 11:31:55 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkselection.c (gtk_target_list_unref): Free
memory allocated for target lists.
* gtk/gtkdnd.c (gtk_drag_drop_finished): Release
selections before destroying info structure.
* gdk/gdkdnd.c gdktypes.h (gdk_drag_get_protocol): Add
new value GDK_DRAG_PROTO_NONE, use it for non-drag
targets, to quiet Purify.
* gdk/gdkdnd.c (gdk_window_register_dnd): Set size
of property properly.
Arturo Espinosa [Tue, 5 Jan 1999 21:27:07 +0000 (21:27 +0000)]
Stuff I did last night while watching TV
Arturo Espinosa [Tue, 5 Jan 1999 04:31:03 +0000 (04:31 +0000)]
Loading framework done, start of PNG loader
Arturo Espinosa [Mon, 4 Jan 1999 23:53:12 +0000 (23:53 +0000)]
Initial import of the GdkPixBuf imaging library
Arturo Espinosa [Mon, 4 Jan 1999 23:53:12 +0000 (23:53 +0000)]
Initial revision
CST 1999 Shawn T. Amundson [Mon, 4 Jan 1999 11:04:11 +0000 (11:04 +0000)]
Released GTK+ 1.1.12
Mon Jan 4 03:45:42 CST 1999 Shawn T. Amundson <amundson@gtk.org>
* Released GTK+ 1.1.12
* INSTALL:
NEWS:
README:
configure.in:
gtk+.spec:
docs/gtk-config.1:
gtk/gtkfeatures.h.in: version=1.1.12
Nam SungHyun [Mon, 4 Jan 1999 03:33:35 +0000 (03:33 +0000)]
Added 'ko'. Added Korean translation.
* configure.in (ALL_LINGUAS): Added 'ko'.
* po/ko.po: Added Korean translation.
Lars Hamann [Sun, 3 Jan 1999 17:32:43 +0000 (17:32 +0000)]
fixed auto_resize bug
Sun Jan 3 17:41:22 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkctree.c (real_tree_expand): fixed auto_resize bug
Tim Janik [Sat, 2 Jan 1999 22:19:15 +0000 (22:19 +0000)]
make this G_PRIORITY_DEFAULT.
Sat Jan 2 03:54:30 1999 Tim Janik <timj@gtk.org>
* gdk/gdk.h (GDK_PRIORITY_EVENTS): make this G_PRIORITY_DEFAULT.
* gdk/gdkevents.c (gdk_events_init): add the source and the poll fd with
a priority of GDK_PRIORITY_EVENTS.
Jeff Garzik [Sat, 2 Jan 1999 07:32:22 +0000 (07:32 +0000)]
Removed features.h test.
* configure.in, config.h.in, gdk/gdkimage.c:
Removed features.h test.
* gdk/gdkdnd.c:
Guard public functions against NULL pointer derefs.
Manish Singh [Sat, 2 Jan 1999 03:16:07 +0000 (03:16 +0000)]
gdk/gdk.c gdk/gdkinputnone.h casts to get rid of const warnings
* gdk/gdk.c
* gdk/gdkinputnone.h
* gtk/gtkruler.c: casts to get rid of const warnings
* gtk/Makefile.am: fix gtktypebuiltins.h dependencies, and do a
cmp so people don't whine about rebuilds
* gtk/gtknotebook.c: use g_snprintf on translated strings, so we
don't get buffer overflows
* gtk/gtkrc.c: use g_strdup_printf instead of g_malloc/sprintf
Plug some memleaks.
-Yosh
Jeff Garzik [Fri, 1 Jan 1999 23:36:32 +0000 (23:36 +0000)]
Check for features.h.
* configure.in, config.h.in:
Check for features.h.
* gdk/gdkevents.c (gdk_event_put, gdk_events_queue):
Fixed bug in linked list append logic by replacing hand-coded
logic with a call to g_list_append. Bug found by tml.
* gdk/gdkimage.c:
'gcc -ansi -pedantic' on GNU/Linux spews warnings and errors
in sys/ipc.h, including one specific admonishment to use
_SVID_SOURCE or _XOPEN_SOURCE. Manually defined the latter, and
included features.h if present to obtain the necessary
side-effects.
* gtk/gtkclist.c, gtk/gtkeditable.c:
Eliminates comma-after-final-element warnings.
* gtk/gtkfontsel.c (gtk_font_selection_init):
Fixed bug where an intl string was declared as _("x") in
local var initializer.
Elliot Lee [Thu, 31 Dec 1998 21:01:18 +0000 (21:01 +0000)]
gtk.m4: When testing to see if glib exists, set LIBS="$GTK_LIBS $LIBS" NOT
gtk.m4:
When testing to see if glib exists, set
LIBS="$GTK_LIBS $LIBS"
NOT
LIBS="$LIBS $GTK_LIBS"
because order matters - if the user specifies their own $LIBS to
./configure, these need to be passed in last.
gtk/Makefile.am:
Fix problems with gtktypebuiltins* getting rebuilt every single
time 'make' was run.
gtk/gtkcalendar.c:
Set 'week' variable to 0 to get rid of uninitialized
variable warning. Better solution is to give it the right value
somewhere :)
gtk/gtkclist.c:
When computing optimum column size, don't subtract the borders.(?)
gtk/gtkcolorsel.c:
Don't read past end of array.
Jeff Garzik [Thu, 31 Dec 1998 15:09:17 +0000 (15:09 +0000)]
updated w/ changed from last night
Jeff Garzik [Thu, 31 Dec 1998 05:35:29 +0000 (05:35 +0000)]
Init fix from Chi-Deok Hwang <cdhwang@sr.hei.co.kr>. Will ChangeLog shortly.
Miguel de Icaza [Thu, 31 Dec 1998 04:43:36 +0000 (04:43 +0000)]
Fix memory leak. gdk_event_put would make a copy of next_event, and
1998-12-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gtk/gtkmain.c (gtk_main_do_event): Fix memory leak.
gdk_event_put would make a copy of next_event, and next_event was
not being freed.
CST 1998 Shawn T. Amundson [Thu, 31 Dec 1998 02:25:58 +0000 (02:25 +0000)]
Released GTK+ 1.1.11
Wed Dec 30 18:39:21 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GTK+ 1.1.11
* INSTALL:
NEWS:
README:
configure.in:
gtk+.spec:
docs/gtk-config.1:
gtk/gtkfeatures.h.in: version=1.1.11
Also fixed docs/Makefile.am so make distcheck works well now,
even on an SMP machine.
Do these .po files really have to be remade during a make dist?
Vincent Renardias [Wed, 30 Dec 1998 21:10:02 +0000 (21:10 +0000)]
Wed, 30 Dec 1998 23:04:25 +0100 [Vincent]
* Major translation updates.
Owen Taylor [Tue, 29 Dec 1998 21:10:30 +0000 (21:10 +0000)]
Fixed off-by-one error when computing length.
Tue Dec 29 16:06:55 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdkim.c (gdk_wcstombs): Fixed off-by-one
error when computing length.
Jeff Garzik [Thu, 24 Dec 1998 19:39:00 +0000 (19:39 +0000)]
x Pull in string.h for various mem*() and str*() functions, in an
x
Pull in string.h for various mem*() and str*() functions,
in an autoconf-friendly way.
x
Jeff Garzik [Thu, 24 Dec 1998 17:47:02 +0000 (17:47 +0000)]
removed unused var 64-bit cast point to const data Made const-correct.
* gdk/gdkfont.c: removed unused var
* gdk/gdkim.c: 64-bit cast
* gtk/gtkaccelgroup.c: point to const data
* gtk/gtkdnd.[ch]: (gtk_drag_dest_set, gtk_drag_source_set):
Made const-correct.
* gtk/gtkfontsel.c: kill uninitialized var warning
* gtk/gtkselection.[ch]: (gtk_target_list_new,
gtk_target_list_add_table, gtk_selection_add_targets):
Made const-correct.
* gtk/testgtk.c: 64-bit cast
CST 1998 Shawn T. Amundson [Thu, 24 Dec 1998 15:21:13 +0000 (15:21 +0000)]
Released GTK+ 1.1.10
Thu Dec 24 03:16:52 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GTK+ 1.1.10
* INSTALL:
NEWS:
README:
configure.in:
gtk+.spec:
docs/gtk-config.1:
gtk/gtkfeatures.h.in: version=1.1.10
* no.po: added translation by Kjartan Maraas <kmaraas@fib.hl.no>
Martin Baulig [Thu, 24 Dec 1998 12:33:19 +0000 (12:33 +0000)]
s,Fedrerico Mena,Federico Mena,
Owen Taylor [Thu, 24 Dec 1998 01:29:44 +0000 (01:29 +0000)]
Update to changelog, to cover fix that previously slipped in.
Wed Dec 23 20:31:40 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c: Fix problem where empty labels were
getting a requisition height of zero, and trailing
newlines were being ignored.
Owen Taylor [Wed, 23 Dec 1998 19:16:21 +0000 (19:16 +0000)]
label->label should be the mb text _after_ removing the underlines, not
Wed Dec 23 13:58:14 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_parse_uline):
label->label should be the mb text _after_ removing
the underlines, not before.
* gtk/gtkmenu.c: Reverted Elliot's tearoff-menu-item
title hack. If it deserves being done, it deserves
being done right.
Elliot Lee [Wed, 23 Dec 1998 16:24:15 +0000 (16:24 +0000)]
*/Makefile.am: Now passes 'make distcheck'. Now loops. I'm not sure what
*/Makefile.am: Now passes 'make distcheck'. Now loops. I'm not sure what
is up.
1998-12-23 Elliot Lee <sopwith@redhat.com>
* gtk/gtkmenu.c: Allow programmer to gtk_object_set_data(obj,
"GtkTearoffMenuItem_window_title", ..) on a GtkMenuItem and have
it be recognized. If we're getting the title out of the GtkLabel,
then remove all underscores.
Owen Taylor [Tue, 22 Dec 1998 22:00:43 +0000 (22:00 +0000)]
Request XmTRANFER_FAILURE on Motif drops not within a drop zone. I don't
Tue Dec 22 17:01:43 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_dest_handle_event):
Request XmTRANFER_FAILURE on Motif drops not within
a drop zone. I don't know why this is necessary,
but it is.
* gdk/gdkdnd.c (gdk_drop_reply): Fixed error where
Motif flag field in response was getting wrong
values.
Owen Taylor [Tue, 22 Dec 1998 20:55:30 +0000 (20:55 +0000)]
Return TRUE for button press events we handle. (Allows option menus in
Tue Dec 22 15:55:39 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkoptionmenu.c (gtk_option_menu_button_press):
Return TRUE for button press events we handle.
(Allows option menus in radio buttons to work...)
Owen Taylor [Tue, 22 Dec 1998 20:06:44 +0000 (20:06 +0000)]
Optimization - when we've already found a widget, skip all checks for
Tue Dec 22 14:50:25 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_find_widget): Optimization -
when we've already found a widget, skip all checks
for subsequent children.
* gtk/gtkdnd.c (gtk_drag_find_widget): Checked for
!MAPPED, not !VISIBLE, since a widget (like a notebook
page), can be VISIBLE, but !REALIZED or !MAPPED.
* gtk/gtkdnd.c (gtk_drag_find_widget): Use forall(),
not foreach().
Owen Taylor [Tue, 22 Dec 1998 19:25:40 +0000 (19:25 +0000)]
Added translation by Krzysztof Krzy¿aniak <eloy@venco.com.pl>
Tue Dec 22 14:24:37 1998 Owen Taylor <otaylor@redhat.com>
* pl.po: Added translation by
Krzysztof Krzy¿aniak <eloy@venco.com.pl>
Lars Hamann [Mon, 21 Dec 1998 21:09:37 +0000 (21:09 +0000)]
fixed column resize bug
Mon Dec 21 22:01:49 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_motion): fixed column resize bug
Tim Janik [Sun, 20 Dec 1998 05:47:28 +0000 (05:47 +0000)]
export the priority at which events are processed.
Sun Dec 20 04:48:59 1998 Tim Janik <timj@gtk.org>
* gdk/gdk.h (GDK_PRIORITY_EVENTS): export the priority at which
events are processed.
* gtk/gtk[main|signal|container].[ch]: removed deprecated _interp
variants: gtk_container_foreach_interp, gtk_idle_add_interp,
gtk_timeout_add_interp, gtk_signal_connect_interp.
PST 1998 Shawn T. Amundson [Sun, 20 Dec 1998 02:48:52 +0000 (02:48 +0000)]
added translation by Tomas Ögren <stric@ing.umu.se>
Sat Dec 19 18:42:39 PST 1998 Shawn T. Amundson <amundson@gtk.org>
* sv.po: added translation by Tomas Ögren <stric@ing.umu.se>
Tim Janik [Sun, 20 Dec 1998 01:24:40 +0000 (01:24 +0000)]
eek, fixed an embarrasing bug that caused this function to always return
Sat Dec 19 22:49:40 1998 Tim Janik <timj@gtk.org>
* gtk/gtktypeutils.c (gtk_type_query): eek, fixed an embarrasing bug
that caused this function to always return NULL (noticed by marius
vollmer).
Owen Taylor [Sat, 19 Dec 1998 22:27:03 +0000 (22:27 +0000)]
Don't add the gthread libs to GLIB_LIBS either, or -lgthread -lpthread
Sat Dec 19 17:28:30 1998 Owen Taylor <otaylor@redhat.com>
* configure.in: Don't add the gthread libs to
GLIB_LIBS either, or -lgthread -lpthread will get
pulled into all applications because of shlib deps.
* gtk/gtkmain.h gtk/gtkwidget.c gtk/gtk gdk/gdk:
Use GLIB's priority #define. Revise scale of
priorities.
Manish Singh [Sat, 19 Dec 1998 11:47:58 +0000 (11:47 +0000)]
always run a g_main_iteration, even if there are no active main loops.
* gtk/gtkmain.c: always run a g_main_iteration, even if
there are no active main loops. This fixes the gimp splash
screen.
-Yosh
Tim Janik [Sat, 19 Dec 1998 05:15:15 +0000 (05:15 +0000)]
removed return_if_fail (label->words != NULL) since that's a valid case
Sat Dec 19 05:37:51 1998 Tim Janik <timj@gtk.org>
* gtk/gtklabel.c (gtk_label_expose): removed return_if_fail
(label->words != NULL) since that's a valid case when the label
is empty, or just default constructed.
fixed indentation prototype arguments and braces in some places.
also, pointer comparisions and initializations are done with NULL
not 0, there's a reason GLib defines NULL.
* gdk/gdkevents.c (gdk_events_pending): return (queued_events ||
putback_events) so this again returns whether events are pending,
not whether other sources like idles are pending.
* gtk/gtkmain.c (gtk_main_iteration_do):
(gtk_main_iteration): return whether the loop is done, not whether
something got dispatch to restore the original behaviour (yosh: this
fixes code like in GleSelector).
Manish Singh [Sat, 19 Dec 1998 03:24:15 +0000 (03:24 +0000)]
s/(enter|leave)_button/$1/g, since pthreads.h no longer conflicts
-Yosh
Lars Hamann [Sat, 19 Dec 1998 01:18:08 +0000 (01:18 +0000)]
fixed GDK_2BUTTON_PRESS bug.
Sat Dec 19 01:56:13 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (gtk_clist_button_press): fixed GDK_2BUTTON_PRESS
bug.
Manish Singh [Sat, 19 Dec 1998 00:07:36 +0000 (00:07 +0000)]
add ja.po to ALL_LINGUAS
-Yosh
Vincent Renardias [Fri, 18 Dec 1998 23:18:11 +0000 (23:18 +0000)]
Sat, 19 Dec 1998 01:15:44 +0100 [Vincent]
* fr.po: Added.
Owen Taylor [Fri, 18 Dec 1998 20:47:21 +0000 (20:47 +0000)]
Marked plug window as destroyed before destroying the window.
Fri Dec 18 15:19:54 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_filter_func): Marked
plug window as destroyed before destroying the
window.
Owen Taylor [Fri, 18 Dec 1998 19:15:46 +0000 (19:15 +0000)]
Set the usize on the tearoff window so when we reparent the window out,
Fri Dec 18 14:17:14 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c (gtk_menu_popup): Set the usize on the
tearoff window so when we reparent the window out,
the window doesn't shrink down.
Owen Taylor [Fri, 18 Dec 1998 14:52:57 +0000 (14:52 +0000)]
Fixed transposition of \ and "
Fri Dec 18 09:52:28 1998 Owen Taylor <otaylor@redhat.com>
* de.po: Fixed transposition of \ and "
Sven Neumann [Fri, 18 Dec 1998 11:16:31 +0000 (11:16 +0000)]
Daniels de.po file after a bit of editing.
--Sven
Yukihiro Nakai [Fri, 18 Dec 1998 10:11:32 +0000 (10:11 +0000)]
Add Japanese Translation.
Add Japanese Translation.
Sebastian Wilhelmi [Fri, 18 Dec 1998 10:01:21 +0000 (10:01 +0000)]
do not export the glib flags for thread support to gtk-config.
1998-12-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: do not export the glib flags for thread support to
gtk-config.
Tim Janik [Fri, 18 Dec 1998 02:23:48 +0000 (02:23 +0000)]
added gdk_flush() after g_main_run(), so we get the original behaviour
Fri Dec 18 01:32:59 1998 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (gtk_main): added gdk_flush() after g_main_run(), so we
get the original behaviour back, i.e. the event queue needs to be flushed
after a main loop has been quitted.
(gtk_main): add/remove the current main loop to/from the main loop
before/after init/quit functions have been exected to preserve the
original gtk_main_quit() behaviour.
Thu Dec 17 23:48:29 1998 Tim Janik <timj@gtk.org>
* gdk/gdkevents.c (gdk_events_init): changed argument order in call
to g_main_add_poll() to match recent glib changes.
Owen Taylor [Fri, 18 Dec 1998 01:32:33 +0000 (01:32 +0000)]
Add @INTLLIBS@. gtk-scier-981116-0.patch Sean Cier
Thu Dec 17 20:33:28 1998 Owen Taylor <otaylor@redhat.com>
* gtk-config.in: Add @INTLLIBS@.
gtk-scier-981116-0.patch Sean Cier <scier@PostHorizon.com>) ]
* gtk/gtkcolorsel.c gtk/gtkfilesel.c gtk/gtkfontsel.c
gtk/gtkgamma.c gtk/gtkinputdialog.c
gtk/gtknotebook.c gtk/gtkrc.c gtk/gtkthemes.c
gtk/gtktipsquery.c:
Applied parts of gtk-egger-981215-1 [ Daniel Egger
<Daniel.Egger@t-online.de> ] marking additional strings for
internationalization.
* po/nl.po: Added Dutch translation from
Paul Siegmann <pauls@euronet.nl>.
Owen Taylor [Thu, 17 Dec 1998 23:35:22 +0000 (23:35 +0000)]
Remove the info tag from the context so if the source unexpectedly
Thu Dec 17 18:25:52 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (gtk_drag_drop_finished): Remove the
info tag from the context so if the source unexpectedly
responds in the future, we do nothing properly.
Thu Dec 17 18:24:41 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtk[hv]paned.c (gtk_[hv]paned_size_allocate): Handle
the case where one side of the the pane is empty.
* gtk/gtkfilesel.c (gtk_file_selection_init): Set
dir_title before using it. (Pointed out by
Lavoie Philippe <lavoie@zeus.genie.uottawa.ca>)
Owen Taylor [Thu, 17 Dec 1998 16:13:20 +0000 (16:13 +0000)]
Use setlocale (LC_ALL, NULL), not (LC_ALL, "") to query current locale.
Thu Dec 17 11:00:48 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdkim.c (gdk_set_locale): Use setlocale (LC_ALL, NULL),
not (LC_ALL, "") to query current locale.
(Pointed out by Ullrich Hafner <hafner@informatik.uni-wuerzburg.de>)
Owen Taylor [Thu, 17 Dec 1998 15:51:15 +0000 (15:51 +0000)]
Free previous label->label_wc.
Thu Dec 17 10:53:20 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_set_text): Free
previous label->label_wc.
* gtk/testgtkrc: Leave font, not fontset commented
in by default.
Sebastian Wilhelmi [Thu, 17 Dec 1998 09:15:45 +0000 (09:15 +0000)]
Define gdk_use_mb outside USE_XIM guard. Removed unnecessary USE_XIM guard
1998-12-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdk/gdkim.c: Define gdk_use_mb outside USE_XIM guard. Removed
unnecessary USE_XIM guard inside another. Made gdk_use_mb
static. Compile gdk_set_locale also if not USE_XIM.
Shawn T. Amundson [Thu, 17 Dec 1998 06:49:15 +0000 (06:49 +0000)]
Released GTK+ 1.1.9
Thu Dec 17 00:26:01 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GTK+ 1.1.9
* INSTALL:
NEWS:
README:
configure.in:
gtk+.spec:
gtk/gtkfeatures.h.in:
docs/gtk-config.1: version=1.1.9
Manish Singh [Thu, 17 Dec 1998 05:21:45 +0000 (05:21 +0000)]
rm -rf intl breaks --disable-nls, put it back
* autogen.sh: rm -rf intl breaks --disable-nls, put it back
* gtkbutton.[ch]
* gtktogglebutton.c: s/(enter|leave)/$1_button/g.
Digital: 1 GTK+: 0 (for now)
-Yosh
CST 1998 Shawn T. Amundson [Thu, 17 Dec 1998 04:40:07 +0000 (04:40 +0000)]
updated call to g_main_add_poll instead of g_main_poll_add
Wed Dec 16 22:38:22 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* gdk/gdkevents.c: updated call to g_main_add_poll
instead of g_main_poll_add
Owen Taylor [Thu, 17 Dec 1998 04:31:49 +0000 (04:31 +0000)]
Remove unnecessary cast.
Wed Dec 16 23:32:05 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_expose): Remove
unnecessary cast.
Owen Taylor [Thu, 17 Dec 1998 04:20:29 +0000 (04:20 +0000)]
Check for broken glibc 2.0 mb functions, and avoid them.
Wed Dec 16 22:50:52 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c gdk/gdkim.c: Check for broken glibc 2.0
mb functions, and avoid them.
Arturo Espinosa [Wed, 16 Dec 1998 23:00:58 +0000 (23:00 +0000)]
*** empty log message ***
Owen Taylor [Wed, 16 Dec 1998 21:58:54 +0000 (21:58 +0000)]
Don't call XPending() if we have putback events.
Wed Dec 16 16:57:55 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdkevents.c (gdk_events_queue): Don't
call XPending() if we have putback events.
Owen Taylor [Wed, 16 Dec 1998 21:06:49 +0000 (21:06 +0000)]
Do nothing on empty string, quietly.
Wed Dec 16 16:04:41 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.c (gtk_label_expose): Do nothing
on empty string, quietly.
Owen Taylor [Wed, 16 Dec 1998 20:39:31 +0000 (20:39 +0000)]
Redraw the character under the cursor when removing the cursor.
Wed Dec 16 15:36:19 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_draw_cursor_on_drawable):
Redraw the character under the cursor when removing
the cursor.
Owen Taylor [Wed, 16 Dec 1998 20:09:30 +0000 (20:09 +0000)]
Move main thread lock back to GDK - we need it there for locking when
Wed Dec 16 13:06:17 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.[ch] gtk/gtkmain.[ch] gtk/gtkprivate.h: Move main
thread lock back to GDK - we need it there for locking
when translating events. Rename things appropriately.
Wed Dec 16 11:44:21 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c (gtk_range_expose): Fix a x/y typo.
CVS:
CST 1998 Shawn T. Amundson [Wed, 16 Dec 1998 16:57:13 +0000 (16:57 +0000)]
Released GTK+ 1.1.8
Wed Dec 16 10:20:27 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* Released GTK+ 1.1.8
* ChangeLog:
INSTALL:
README:
gtk+.spec:
docs/gtk-config.1: version=1.1.8
Sebastian Wilhelmi [Wed, 16 Dec 1998 14:28:05 +0000 (14:28 +0000)]
Define gdk_xim_ic only, if USE_XIM is defined.
1998-12-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gdk/gdkglobals.c: Define gdk_xim_ic only, if USE_XIM is defined.
Tim Janik [Wed, 16 Dec 1998 06:05:46 +0000 (06:05 +0000)]
urg, fixups
Tim Janik [Wed, 16 Dec 1998 06:03:14 +0000 (06:03 +0000)]
version bump to 1.1.8, binary age 0, interface age 0, depend on GLib
Wed Dec 16 05:26:32 1998 Tim Janik <timj@gtk.org>
* configure.in: version bump to 1.1.8, binary age 0, interface age 0,
depend on GLib 1.1.8.
* gdk/gdkprivate.h:
* gdk/gdkglobals.c: removed last Gdk threads specific bits.
* gtk/gtkmain.c (gtk_init): s/g_thread_supported/g_thread_supported()/.
* gtk/gtkprivate.h: changed GTK_THREADS_ENTER and GTK_THREADS_LEAVE
to function macros GTK_THREADS_ENTER() and GTK_THREADS_LEAVE().
honour G_THREADS_ENABLED in the definition of GTK_THREADS_ENTER()
and GTK_THREADS_LEAVE(). changed callers accordingly.
Owen Taylor [Wed, 16 Dec 1998 05:04:46 +0000 (05:04 +0000)]
Update news for 1.1.8.
CST 1998 Shawn T. Amundson [Wed, 16 Dec 1998 03:33:22 +0000 (03:33 +0000)]
warn if glib.m4 or gettext.m4 are not found in aclocal's directory.
Tue Dec 15 21:26:26 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* autogen.sh: warn if glib.m4 or gettext.m4 are not found
in aclocal's directory.
Owen Taylor [Wed, 16 Dec 1998 02:37:41 +0000 (02:37 +0000)]
Create buttons, not combos again.
Tue Dec 15 21:36:14 1998 Owen Taylor <otaylor@redhat.com>
* gtk/testgtk.c (create_layout): Create buttons,
not combos again.
Joel Becker [Wed, 16 Dec 1998 01:40:50 +0000 (01:40 +0000)]
Fixed gettextize/aclocal conflict in autogen.sh
Lars Hamann [Wed, 16 Dec 1998 01:28:31 +0000 (01:28 +0000)]
removed clist flag : GTK_CLIST_DRAG_SELECTION added flags :
Tue Dec 15 22:30:44 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.h :
removed clist flag : GTK_CLIST_DRAG_SELECTION
added flags : GTK_CLIST_REORDERABLE, GTK_CLIST_USE_DRAG_ICONS,
GTK_CLIST_DRAW_DRAG_LINE, GTK_CLIST_DRAW_DRAG_RECT
(GtkCListDragPos) : new enum for DND
(GtkButtonAction) : new enum of possible mouse button actions
(struct _GtkCList): added button_actions array.
Added drag_button and click_cell struct, to store cell and
mouse button of last button_press_event
(struct _GtkCListClass): new class method draw_drag_highlight.
(gtk_clist_set_reorderable) (gtk_clist_set_use_drag_icons) :
new functions. Moved from gtkctree.h. Now clist is reorderable
as well.
(gtk_clist_set_button_actions) new function to customize mouse
button actions.
* gtk/gtkclist.c:
(gtk_clist_drag_begin)
(gtk_clist_drag_motion)
(gtk_clist_drag_leave)
(gtk_clist_drag_end)
(gtk_clist_drag_drop)
(gtk_clist_drag_data_get)
(gtk_clist_drag_data_received) : new dnd widget methods to
implement clists reorderability via DND
(remove_grab) : new function. remove mouse grab if necessary.
(draw_drag_highlight) : new method. Draw dnd highlight depending
on clist flags GTK_CLIST_DRAW_DRAG_LINE and GTK_CLIST_DRAW_DRAG_RECT
(gtk_clist_class_init): added object args "reorderable" and
"use_drag_icons"
(gtk_clist_button_press) (gtk_clist_button_release) :
use button_actions array to decide which action to perform.
(gtk_clist_motion) : start reorder operation if necessary.
* gtk/gtkctree.h :
(struct _GtkCTree): removed drag_icon, icon_widht, icon_height,
drag_row, drag_source, drag_target, reorderable, use_icons,
in_drag, drag_rect
(gtk_ctree_set_reorderable) : deprecated function.
use gtk_clist_set_reorderable instead.
(gtk_ctree_set_use_drag_icons) : deprecated function.
use gtk_clist_set_use_drag_icons instead.
* gtk/gtkctree.c :
(gtk_ctree_class_init): removed object args "reorderable" and
and "use_drag_icons"
(draw_xor_line) (draw_xor_rect) (create_drag_icon) (check_cursor)
(tree_toggle_selection) (set_mouse_cursor) : removed
(draw_drag_highlight) : new clist method. replacement for
draw_xor_line and draw_xor_rect functions
(check_drag) renamed check_cursor function
(gtk_ctree_drag_begin)
(gtk_ctree_drag_motion)
(gtk_ctree_drag_data_received) : new dnd methods to implement ctrees
reorderability via DND
(gtk_ctree_button_release)
(gtk_ctree_button_motion) : removed.
* gtk/testgtk.c:
(create_clist) : added new reorderable toggle button
Owen Taylor [Wed, 16 Dec 1998 00:52:46 +0000 (00:52 +0000)]
Use base[NORMAL] instead of bg[PRELIGHT] so CLists now can be used in
Tue Dec 15 19:50:41 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkctree.c gtk/gtkclist.c gtk/testgtk.c: Use
base[NORMAL] instead of bg[PRELIGHT] so CLists now can be
used in detergent commercials.
Jeff Garzik [Wed, 16 Dec 1998 00:07:33 +0000 (00:07 +0000)]
Remove --with-threads, unused GTK_THREAD_FLAGS
Elliot Lee [Tue, 15 Dec 1998 23:59:44 +0000 (23:59 +0000)]
Use G_IO_ERR|G_IO_HUP|G_IO_NVAL as the mask for checking for
1998-12-15 Elliot Lee <sopwith@bogus.cuc.ml.org>
* gdk/gdkevents.c: Use G_IO_ERR|G_IO_HUP|G_IO_NVAL
as the mask for checking for GDK_INPUT_EXCEPTION events.
Martin Baulig [Tue, 15 Dec 1998 23:11:05 +0000 (23:11 +0000)]
Make the gettext check for for libc5 systems.
1998-12-15 Martin Baulig <martin@home-of-linux.org>
* acinclude.m4: Make the gettext check for for libc5 systems.
Martin Baulig [Tue, 15 Dec 1998 22:13:35 +0000 (22:13 +0000)]
Not running gettextize fails on a fresh CVS checkout and we'll get a lot
1998-12-15 Martin Baulig <martin@home-of-linux.org>
* autogen.sh: Not running gettextize fails on a fresh CVS checkout
and we'll get a lot of bug reports tomorrow, so I add it back.
Martin Baulig [Tue, 15 Dec 1998 22:03:53 +0000 (22:03 +0000)]
Rename AM_GNU_GETTEXT_GTK to AM_GTK_GNU_GETTEXT and AM_WITH_NLS_GTK to
1998-12-15 Martin Baulig <martin@home-of-linux.org>
* acinclude.m4: Rename AM_GNU_GETTEXT_GTK to AM_GTK_GNU_GETTEXT and
AM_WITH_NLS_GTK to AM_GTK_WITH_NLS to avoid this ugly automake
warnings.
Owen Taylor [Tue, 15 Dec 1998 21:54:13 +0000 (21:54 +0000)]
Moved gtk_label_set() compatiblity define from <gtkcompat.h> to
Tue Dec 15 16:54:09 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtklabel.h: Moved gtk_label_set() compatiblity
define from <gtkcompat.h> to <gtklabel.h> for
compatibility.
Owen Taylor [Tue, 15 Dec 1998 21:08:52 +0000 (21:08 +0000)]
Provide a hacked version of the gettext macros that never use the included
Tue Dec 15 16:06:15 1998 Owen Taylor <otaylor@redhat.com>
* acinclude.m4: Provide a hacked version of the
gettext macros that never use the included gettext.
* Makefile.am configure.in: Remove references
to intl/
* autogen.sh: Don't run gettextize.
Owen Taylor [Tue, 15 Dec 1998 20:31:26 +0000 (20:31 +0000)]
Added gdk_text_extents_wc()
Tue Dec 15 14:30:35 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.h gdk/gdkfonts.c: Added gdk_text_extents_wc()
* Patch from Jonathan Blanford <jrb@redhat.com> to add line wrapping
to label. (Based on patch from Jeff Dairiki
<dairiki@mac-ceope.apl.washington.edu> gtk-dairiki-971208-0)
- Adds new function gtk_label_set_line_wrap()
- implement GTK_JUSTIFY_FILL.
- rename gtk_label_set to gtk_label_set_text() add
gtk_label_set() to gtkcompat.h.
* Use an internal wc representation in the label, so
that we handle underlining and line breaks correctly
for multi-byte strings.
Owen Taylor [Tue, 15 Dec 1998 18:48:19 +0000 (18:48 +0000)]
Added GTK_USER_DRAW flag.
Tue Dec 15 13:32:28 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.h: Added GTK_USER_DRAW flag.
* gtk/gtkwindow.c: Honor GTK_USER_DRAW flag.
* gtk/gtkdrawwindow.c gtk/Makefile.am: Removed
GtkDrawWindow, which GTK_USER_DRAW obsoletes.
Owen Taylor [Tue, 15 Dec 1998 17:56:31 +0000 (17:56 +0000)]
Fixed up some warnings.
Tue Dec 15 11:37:05 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c: Fixed up some warnings.
Tue Dec 15 10:32:01 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtk{h,v,}paned.{c,h}: Add new functions
gtk_paned_set_position(),
gtk_paned_pack1/2(). The latter take a
shrink and resize parameters, that allows setting
minimum sizes and getting 'relative' resizing.
Owen Taylor [Tue, 15 Dec 1998 15:32:49 +0000 (15:32 +0000)]
Keep separate putback_events and queued_events queues so that we get both
Tue Dec 15 10:26:23 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdkevents.c: Keep separate putback_events and
queued_events queues so that we get both FIFO and
preemptive behavior for gdk_event_put().
Owen Taylor [Tue, 15 Dec 1998 14:23:46 +0000 (14:23 +0000)]
Removed unused variable, fixed minor memory leak.
Tue Dec 15 09:22:44 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtkrc.c (gtk_rc_init): Removed unused
variable, fixed minor memory leak.
* gdk/gdk.c: Fixed another merge problem.
Owen Taylor [Tue, 15 Dec 1998 13:54:20 +0000 (13:54 +0000)]
Remove gdk_signal, which crept back in in last commit.
Tue Dec 15 08:53:38 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c (gdk_get_display): Remove gdk_signal,
which crept back in in last commit.
gdk/gdkevents.c: File missed on last commit.
CVS
Owen Taylor [Tue, 15 Dec 1998 07:32:11 +0000 (07:32 +0000)]
Commented out testthreads from the build process, since we won't have any
Tue Dec 15 01:38:53 1998 Owen Taylor <otaylor@redhat.com>
* gtk/Makefile.am: Commented out testthreads from
the build process, since we won't have any idea
how to create a thread.
* configure.in (LIBS): use glib-config ... gthread
so we always build a thread-compatible library.
* gtk/gtkaccellabel.c gtk/gtkclist.c gtk/gtkcolorsel.c
gtk/gtkcombo.c gtk/gtkcontainer.c gtk/gtkentry.c
gtk/gtklist.c gtk/gtkmenuitem.c gtk/gtknotebook.c
gtk/gtkrange.c gtk/gtkselection.c gtk/gtkspinbutton.c
gtk/gtktext.c gtk/gtktooltips.c gtk/gtkwidget.c:
Add GTK_THREADS_ENTER/LEAVE pairs around timeouts
and idles to account for the fact that they are no
longer called within the GTK+ lock.
* gtk/gtkprivate.h: Added definitions for locking
the main GTK+ mutex.
* gtk/gtkmain.c: Re-implement the main loop
in terms of the GLib main loop.
* gdk/gdk.h gdk/gdkthreads.c gdk/Makefile.am: Removed threading
functionality, as it seems better to subsume GDK within the
GTK+ lock than vice-versa.
* gdk/gdkevents.c: New file, containing event handling bits
from gdk.c.
* gdk/gdkevents.c: Implement event source for GDK
events.
* configure.in gdk/gdkevents.c: Removed attempts to
subtract base_id, which were already non-functional.